package webserver.response;

public class HttpByteResponse extends HttpTextResponse {
    private byte[] resultPage;

    public byte[] getResponse() {
	return resultPage;
    }

    public HttpByteResponse setResultPage(byte[] resultPage) {
	this.resultPage = resultPage;
	return this;
    }

    @Override
    public HttpByteResponse setResultPage(String resultPage) {
	this.resultPage = resultPage.getBytes();
	return this;
    }
}
